<%@ page language="java"
	import="java.util.*,bookstore.database.pojo.*,bookstore.tools.*"
	pageEncoding="utf-8"%>
<%
	Customer cus = (Customer) session.getAttribute("customer");
	if (cus == null) {
		request.getRequestDispatcher("login.jsp").forward(request,
				response);
	} else {
		if (!Tools.isCustomerSeller(cus.getEmail())) {
			request.getRequestDispatcher("apply.jsp").forward(request,
					response);
		}
	}
	String error = (String) request.getAttribute("error");
	String mess = "";
	if (error != null) {
		mess = error;
	}
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>

		<title>我mai 发布售书信息</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

		<link rel="stylesheet" type="text/css" href="/css/my.css">
		<script language="javascript">
function keyDown() {
	var keyCode = event.keyCode;
	if ((keyCode >= 48 && keyCode <= 57 || keyCode == 8)) {
		event.returnValue = true;
	} else {
		event.returnValue = false;
	}
}
</script>

	</head>

	<body>
			<table width="80%" border="0" align="center">
				<tr>
					<td>
						<div align="center"><jsp:include flush="true"
								page="head.jsp"></jsp:include></div>
					</td>
				</tr>
				<tr>
					<td>
						<table width="100%" border="1" bordercolor="#CCFFFF">
							<tr>
								<td class="style1">
									发布售书信息
								</td>
							</tr>
							<form action="isbnSubmit.do" method="post">
							<tr>
								<td>
									ISBN号：
									<input name="bookISBN" type="text" maxlength="13" />
									<input type="submit" name="Submit3" value="下一步" />
									 <font color="COLOR.RED"><%=mess%></font>
								</td>
							</tr>
							</form>
						</table>
					</td>
				</tr>
				<tr>
					<td>
						<div align="center"><jsp:include flush="true"
								page="tail.jsp"></jsp:include></div>
					</td>
				</tr>
			</table>
		
	</body>
</html>
